﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeEdu.MODEL
{
    /// <summary>
    /// 订单类
    /// </summary>
    public class Indent
    {
        [DisplayName("主键ID")]
        public int ID { get; set; }
        [DisplayName("订单名称")]
        public string O_Name { get; set; }
        [DisplayName("订单编号")]
        public string O_Num { get; set; }
        [DisplayName("交易号")]
        public string O_TradeNum { get; set; }
        [DisplayName("交易状态")]
        public int O_TradeState { get; set; }
        [DisplayName("交易金额")]
        public decimal O_Price { get; set; }
        [DisplayName("虚拟币支付")]
        public decimal O_Virtual { get; set; }
        [DisplayName("现金支付")]
        public decimal O_Money { get; set; }
        [DisplayName("创建时间")]
        public DateTime O_CreateDate { get; set; }
        [DisplayName("付款时间")]
        public DateTime O_PayDate { get; set; }
        [DisplayName("用户外键")]
        public int UserInfoId { get; set; }
        public virtual UserInfo userinfo { get; set; }
        [DisplayName("课程外键")]
        public int HourId { get; set; }
        public virtual Hour hour { get; set; }
        [DisplayName("班级外键")]
        public int ClassTableId { get; set; }
        public virtual ClassTable classtable { get; set; }

        [DisplayName("订单类型")]
        public string O_Type { get; set; }

    }

}
